import request from "@/utils/request"

export default {
    getFollow(id) {
        return request({
            url: `weddingadmin/follow/getFollow/${id}`,
            method: 'GET',
        })
    },
    getFan(id) {
        return request({
            url: `weddingadmin/follow/getFan/${id}`,
            method: 'GET',
        })
    },
    unFollow(oneId, twoId) {
        return request({
            url: `weddingadmin/follow/unFollow/${oneId}/${twoId}`,
            method: 'GET',
        })
    },
    follow(oneId, twoId) {
        return request({
            url: `weddingadmin/follow/follow/${oneId}/${twoId}`,
            method: 'GET',
        })
    },
    isTogether(oneId, twoId) {
        return request({
            url: `weddingadmin/follow/isTogether/${oneId}/${twoId}`,
            method: 'GET',
        })
    }
}